package auth

type UserObj interface {
	GetID() string
	GetTenantID() string
}

type User struct {
	ID string `json:"id"`
}

func (u *User) GetID() string {
	return u.ID
}

type JWTObj interface {
	GetSubject() string
}

type AccessJWT struct {
	Subject string `json:"sub"`
}

func (a *AccessJWT) GetSubject() string {
	return a.Subject
}
